<!DOCTYPE html>
<html lang="en">

<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <meta http-equiv="X-UA-Compatible" content="ie=edge">
    <title>P51 5.2.1 对象的定义</title>
</head>

<body>
    <script>
        var o1 = {};
        var o2 = { name: 'Jim' };
        var o3 = { name: 'Jim', age: 19, gendar: '男' };
        var o4 = {
            name: 'Jim',
            age: 19,
            gendar: '男',
            sayHello: function () {
                console.log('你好');
            }
        }
    </script>
    <a href="../首页/page05.html">
        <h2>返回上一页面</h2>
    </a>
</body>

</html>